package org.xaviera.io;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

public class DefaultFileStreamFactory implements FileStreamFactory {

	@Override
	public InputStream createInputStream(File file) throws IOException {
		return new FileInputStream(file);
	}

	@Override
	public OutputStream createOutputStream(File file) throws IOException {
		return new FileOutputStream(file);
	}

}
